Form Integration

  • Steps

    1. name attribute in the inputs is used for accessing the user entered data from the controller

    2. The user entered (form data) is availabe in '$request' object which inject into the function in a controller

    3. Create the object of the model we want

    4. Assign the data in the $request object to corresponding fields in a table